package com.ht.medicaltreatment.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ht.medicaltreatment.R
import com.ht.medicaltreatment.bean.SampleRecordItemeBean

class SampleRecordAdapter:BaseQuickAdapter<SampleRecordItemeBean,BaseViewHolder>(R.layout.item_sample_record_layout) {
    override fun convert(holder: BaseViewHolder, item: SampleRecordItemeBean) {
        holder.setText(R.id.tvOrderTitle,item.tableName)
        holder.setText(R.id.tvName,item.transportPersonName)
        holder.setText(R.id.tvName2,item.receivePersonName)
        holder.setText(R.id.tvTime,item.receiveTime)
    }

}
